[Obsolete("Use ToHashSetEx() extension method instead to avoid conflict with the .NET Fx v4.7.2 ToHashSet() extension method with same signature")] [Extension()] public static HashSet<T> ToHashSet<T>( IEnumerable<T> seq )
Parameters
- seq
- An IEnumerable<T> to create an hashset from.
Type Parameters
- T
- The type of the elements of seq.
Return Value
An hashset that contains the elements from the input sequence.